<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>bank form</title>
<link rel="stylesheet" type="text/css"
	href="./css/basic.css" />
</head>
<body>
<f:view>
      <h:panelGroup>
        <h:form id="bankForm">
            <h:panelGrid columns="2" styleClass="countryFormTable" >
                <h:outputLabel for="name" value="name"/>
                <h:panelGroup>
                    <h:inputText id="name" value="#{sessionFacade.currentBank.name}" required="true" />
                    <h:message for="name" styleClass="error" showDetail="true" showSummary="false" />
                </h:panelGroup>

            
                <h:panelGroup>
                    <h:commandButton action="#{bankControler.save}" value="save" />
                    <f:verbatim>&nbsp;</f:verbatim>
                    <h:commandButton action="#{bankControler.cancel}" immediate="true" value="cancel" />
                    <f:verbatim>&nbsp;</f:verbatim>
                    <h:commandButton action="#{bankControler.delete}" immediate="true" value="delete" />
                    <f:verbatim>&nbsp;</f:verbatim>
                    <h:commandButton action="#{bankControler.apply}" value="apply" />
                    <f:verbatim>&nbsp;</f:verbatim>
                    <h:commandButton action="#{bankControler.showCustomers}" value="show customers" />
                </h:panelGroup>
                
                <f:verbatim>&nbsp;</f:verbatim>
            </h:panelGrid>
        </h:form>
    </h:panelGroup>
</f:view>
</body>
</html>
